using System;
using System.Collections.Generic;
using FikriKibar.Entities.Abstract;


namespace FikriKibar.Entities.Concrete
{
    
    public class ContentCategory : IEntity{
        public int Id { get; set; }
        public int ContentTypeId { get; set; }
        public int? ParentId { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }
        public ICollection<Content> Contents { get; set; }
        public ICollection<ContentCategoryLanguageLine> ContentCategoryLanguageLines { get; set; }
        public ICollection<ContentCategory> ChildrenContentCategories { get; set; }
        public ContentCategory ParentContentCategory { get; set; }
        public ContentType ContentType { get; set; }
        public User User_CreatedBy { get; set; }
        public User User_UpdatedBy { get; set; }
        public ContentCategory()
        {
            Contents = new List<Content>();
            ContentCategoryLanguageLines = new List<ContentCategoryLanguageLine>();
            ChildrenContentCategories = new List<ContentCategory>();
        }
    }

}
